package org.example.news_check.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.news_check.Pojo.Communicate;

import java.util.List;

@Mapper
public interface CommunicateMapper{
    List<Communicate> list();
    void save(Communicate entity);
    List<Communicate> selectList();

    void insert(Communicate communicate);

    List<Communicate> selectByArticleId(Integer articleId);
}